package com.lzq.springblog.dao;

import com.lzq.springblog.model.LikeInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LikeInfoMapper {

    LikeInfo selectIsLiked(Integer userId, Integer blogId);

    void insertLikeRecord(Integer userId, Integer blogId);

    void updateLikeRecord(Integer userId, Integer blogId);

    Integer deleteLikeRecord(Integer userId, Integer blogId);
}
